package com.woniu.car.service;

import com.woniu.car.common.ResponseEntity;
import com.woniu.car.domain.TOrderGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.car.exception.ParamException;
import com.woniu.car.param.GoodsOrderParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chestnuts
 * @since 2021-06-21
 */
public interface TOrderGoodsService extends IService<TOrderGoods> {

    ResponseEntity placeGoodsOrder(GoodsOrderParam goodsOrderParam, int id) throws InterruptedException;

    ResponseEntity putGoodsOrderStatus(Integer orderId) throws ParamException;

    public ResponseEntity OverOrderStatus(Integer orderId) throws ParamException;
}
